﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyRabbit.Domain
{
    /// <summary>
    /// 屠宰信息
    /// </summary>
    public  class Slaughte
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int SlaughteId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        [StringLength(50)]
        public string ProductionBatch { get; set; }

        /// <summary>
        /// 到厂均重
        /// </summary>
        [StringLength(50)]
        public string AverageWeight { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>

        public DateTime EntryTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>

        public DateTime SlaughteTime { get; set; }
        /// <summary>
        /// 屠宰企业Id
        /// </summary>
        public int SlaughteEnterpriseId { get; set; }
        /// <summary>
        ///添加人
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        ///添加时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
